<%@ page language="java"  pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/taglib.jsp"%>
<%@ taglib prefix="ec" uri="/WEB-INF/taglib/extremecomponents.tld" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <link href="css/norm.css" rel="stylesheet" type="text/css">
   
<style type="text/css">
<!--
body {
	background-image: url(images/bg.gif);
}
-->
</style>
  	<TITLE>DataConverge</TITLE>
	<link rel="stylesheet" type="text/css" href="css/extremecomponents.css">
	<link href="css/style.css" rel="stylesheet" type="text/css" />
	<SCRIPT type="text/javascript">
	
	function check(){
	 var fm=document.forms[0];
	  if(fm.groupname.value==""){
	    alert("请填写角色名称！");
	    fm.groupname.focus();
	    return false;
	    }
    if(fm.groupdes.value==""){
       alert("请填写角色描述！");
       fm.groupdes.focus();
       return false;
       }

   var opObj = fm.selectId;
    
     if (opObj.length) {
	   for (i=0;i<opObj.length;i++) {

		  if (opObj[i].status) {			
			   return true;		   
		  }
	   }
   } else {
	   if (opObj.status) {
           return true;		
	   }
   }
   alert("请为此分组至少选择一个权限！");
	 return false
}

  
function changSelSta(itemValue){
   var i;
   var opObj = document.forms[0].selectId;
 //  var desObj = document.forms[0].selurlDes;
   for (i=0;i<opObj.length;i++) {
      if (opObj[i].value == itemValue) {
        opObj[i].status = true;
        break;
      }
   }
}
	
	</SCRIPT>
</head>
<body style="text-align:center;">
  <table width="100%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td width="22" align="left"><img src="images/arrow2.gif" width="22" height="20"></td>
                    <td bgcolor="#7AAED6" class="normtit">科研人员管理-<a href="researcher.htm?action=tomodify&flag=add">添加新的科研人员</a></td>
                    <td width="8" align="right"><img src="images/arrow3.gif" width="8" height="20"></td>
                  </tr>
  </table>   
  <h4 align="center">用户查询</h4>
  <form method="post" action="researcherSch.htm" >
  <fieldset>
  <legend>基本信息  ---><a href="researcher.htm?action=resSta">统计信息查询</a></legend>
<table width="80%" border="1">
  <tr>
    <td>id</td>
    <td><input name="id" type="text" maxlength="20"></td>
  </tr>
  <tr>
    <td>姓名</td>
    <td><input name="name" type="text" maxlength="20"></td>
  </tr>
  <tr>
    <td>身份证号</td>
    <td><input name="idcard" type="text" maxlength="20"></td>
  </tr>
  <tr>
    <td>所在单位</td>
    <td><select id="org" name="org">
      <option value="">请选择-----------</option>
      <c:forEach items="${orgList}" var="org">
	 		<option value="${org.id}" <c:if test="${res.org==org.id}">selected</c:if> ><c:out value="${org.name}"/></option>
	  </c:forEach>
	 	 </select></td>
  </tr>
</table>
</fieldset>
<br>
<br>
<div align="center"><input name="save" type="submit" value="查询">&nbsp;&nbsp;&nbsp;&nbsp;
</div>
</form>
<br>

</body>
</html>